<extend name="Public/base"/>

<block name="body">
	<div class="main-title">
		<h2>视图管理 [ <strong>全部</strong>]</h2>
	</div>

	<div class="cf">
		<a class="btn" href="{:U('index')}">返回</a>
		<!-- 高级搜索 -->
		<div class="search-form fr cf">
			<div class="sleft">
				<input type="text" name="name" class="search-input" value="{:I('name')}" placeholder="请输入配置名称">
				<a class="sch-btn" href="javascript:;" id="search" url="{:U('config/index')}"><i class="btn-search"></i></a>
			</div>
		</div>
	</div>

	<div class="data-table table-striped">
		<table>
			<thead>
				<tr>
					<th>tid</th>
					<th>fname</th>
					<th>fnamec</th>
					<th>cpk</th>
					<th>flx</th>
					<th>fcd</th>
					<th>tofield</th>
					<th>cnotnull</th>
					<th>todic</th>
					<th>cflag</th>
					<th>indexorder</th>
					<th>caddflag</th>
					<th>ctname</th>
					<th>sharecell</th>
					<th>toquery</th>
					<th>toassign</th>
				</tr>
			</thead>
			<tbody>
				<notempty name="viewList">
				<volist name="viewList" id="config">
					<tr>
						<td>{$config.tid}</td>
						<td>{$config.fname}</td>
						<td>{$config.fnamec}</td>
						<td>{$config.cpk}</td>
						<td>{$config.flx}</td>
						<td>{$config.fcd}</td>
						<td>{$config.tofield}</td>
						<td>{$config.cnotnull}</td>
						<td>{$config.todic}</td>
						<td>{$config.cflag}</td>
						<td>{$config.indexorder}</td>
						<td>{$config.caddflag}</td>
						<td>{$config.ctname}</td>
						<td>{$config.sharecell}</td>
						<td>{$config.toquery}</td>
						<td>{$config.toassign}</td>
					</tr>
				</volist>
				<else/>
				<td colspan="6" class="text-center"> aOh! 暂时还没有内容! </td>
				</notempty>
			</tbody>
		</table>
	</div>
</block>